package com.yk.networking;

import java.util.Map;

public class YKNetworkingConfig {

    private static YKNetworkingConfig _instance;

    public long timeoutInterval = 60;

    public String defaultPrefixUrl = "";

    public Map<String, String> defaultHeader = null;

    public Map<String, String> defaultParams = null;

    public YKNetworkingConfigCacheRequest cacheRequest = null;

    public static YKNetworkingConfig getInstance(){
        if(_instance == null) {
            _instance = new YKNetworkingConfig();
        }
        return _instance;
    }
    private YKNetworkingConfig() {

    }
}
